package com.ysd.entity;

import java.io.Serializable;

public class Payment implements Serializable {//Serializable序列化，后面的分布式部署会用到
    private long id;        //主键是bigint所以这里用long；
    private String serial;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getSerial() {
		return serial;
	}
	public void setSerial(String serial) {
		this.serial = serial;
	}
	@Override
	public String toString() {
		return "Payment [id=" + id + ", serial=" + serial + "]";
	}
	public Payment(long id, String serial) {
		super();
		this.id = id;
		this.serial = serial;
	}
	public Payment() {
		super();
		// TODO Auto-generated constructor stub
	}
    
}
